org.codehaus.plexus.redback.authorization
Class AuthorizationResult

java.lang.Object
  extended by org.codehaus.plexus.redback.authorization.AuthorizationResult

public class AuthorizationResult
extends java.lang.Object

AuthorizationResult: wrapper object for results from the authorization system


Constructor Summary
AuthorizationResult(boolean authorized, java.lang.Object principal, java.lang.Exception exception)
           
 
Method Summary
 java.lang.Exception getException()
           
 java.lang.Object getPrincipal()
           
 boolean isAuthorized()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorizationResult

public AuthorizationResult(boolean authorized,
                           java.lang.Object principal,
                           java.lang.Exception exception)
Method Detail

isAuthorized

public boolean isAuthorized()

getPrincipal

public java.lang.Object getPrincipal()

getException

public java.lang.Exception getException()


Copyright © 2006-2011 Codehaus. All Rights Reserved.