@Override
    public AuthenticationMethod getAuthenticationMethod() {
        return authenticationMethod;
    }
Obtain method that was used to authenticate this session. Null when the session is not authenticated.

@return the method used for authentication (possibly null).
xmppserver/src/main/java/org/jivesoftware/openfire/session/LocalServerSession.java