public void setAuthenticationMethod(@Nonnull final AuthenticationMethod authenticationMethod) {
        this.authenticationMethod = authenticationMethod;
        setStatus(Status.AUTHENTICATED);
    }
Set the method that was used to authenticate this session. Setting a value will cause the status of this session
to be updated to 'Authenticated'.

@param authenticationMethod The new authentication method for this session
xmppserver/src/main/java/org/jivesoftware/openfire/session/LocalServerSession.java