IdentityManager can be local here
Removing JavaScript-ism
Is not necessary to have a variable here
Once the class is not extended by another class,
it can be package to local
These methods can be private
Make it final
Imports clean up
Redundant assignment