Toggle navigation
Home
org.neo4j.kernel.enterprise.api.security.EnterpriseAuthSubject to org.neo4j.kernel.enterprise.api.security.EnterpriseSecurityContext
No. of Instances - 24
No. of Commits - 1
No. of Projects - {'neo4j'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Add or Remove Method invocation
subject
to
securityContext.subject()
mike.getAuthenticationResult()
to
mike.subject().getAuthenticationResult()
ANONYMOUS.allows()
to
inner.subject()
ANONYMOUS.name()
to
inner.allows()
ANONYMOUS.logout()
to
inner.allows()
ANONYMOUS.getAuthenticationResult()
to
inner.subject()
ANONYMOUS.setPassword(password,requirePasswordChange)
to
inner.allows()
ANONYMOUS.allowsProcedureWith(roleNames)
to
inner.allows()
ANONYMOUS.username()
to
inner.allows()
ANONYMOUS.hasUsername(username)
to
inner.allows()
ANONYMOUS.ensureUserExistsWithName(username)
to
inner.allows()
subject
to
securityContext.subject()
subject
to
securityContext.subject()
mike.getAuthenticationResult()
to
mike.subject().getAuthenticationResult()
mike.getAuthenticationResult()
to
mike.subject().getAuthenticationResult()
subject
to
securityContext.subject()
Rename Variable
subject
to
securityContext
createFakeAnonymousEnterpriseAuthSubject
to
createFakeAnonymousEnterpriseSecurityContext
subject
to
securityContext
subject
to
securityContext
subject
to
securityContext
subject
to
securityContext
subject
to
securityContext
subject
to
securityContext
subject
to
securityContext
Cascading Type Change (Similar)
EnterpriseAuthSubject
to
EnterpriseSecurityContext
AuthenticationResult
to
AuthSubject
InvalidArgumentsException
to
AnonymousContext
EnterpriseAuthSubject
to
EnterpriseSecurityContext
EnterpriseAuthSubject
to
EnterpriseSecurityContext
Update Anonymous class
{ @Override public Allowance allows(){ return ANONYMOUS.allows(); } @Override public String name(){ return ANONYMOUS.name(); } @Override public boolean isAdmin(){ return false; } @Override public void logout(){ ANONYMOUS.logout(); } @Override public AuthenticationResult getAuthenticationResult(){ return ANONYMOUS.getAuthenticationResult(); } @Override public void setPassword( String password, boolean requirePasswordChange) throws IOException, InvalidArgumentsException { ANONYMOUS.setPassword(password,requirePasswordChange); } @Override public void setPasswordChangeNoLongerRequired(){ } @Override public boolean allowsProcedureWith( String[] roleNames) throws InvalidArgumentsException { return ANONYMOUS.allowsProcedureWith(roleNames); } @Override public String username(){ return ANONYMOUS.username(); } @Override public boolean hasUsername( String username){ return ANONYMOUS.hasUsername(username); } @Override public void ensureUserExistsWithName( String username) throws InvalidArgumentsException { ANONYMOUS.ensureUserExistsWithName(username); } }
to
{ AnonymousContext inner=AnonymousContext.none(); @Override public AuthSubject subject(){ return inner.subject(); } @Override public Allowance allows(){ return inner.allows(); } @Override public boolean isAdmin(){ return false; } }
Cascading Type Change (Different)
StandardEnterpriseAuthSubject
to
StandardEnterpriseSecurityContext
StandardEnterpriseAuthSubject
to
StandardEnterpriseSecurityContext
StandardEnterpriseAuthSubject
to
StandardEnterpriseSecurityContext