protected LoginContext createLoginContext ( CallbackHandler handler , final DefaultLoginResult loginResult ) throws LoginException { return createLoginContext ( null , handler , loginResult ) ; }
For login context providers that can abstract their tokens into a CallbackHandler that understands their token this is a utility method that can be called to construct a create login .