public final class Authorization extends Object
DocumentTypeAuthorizer| Constructor and Description |
|---|
Authorization(boolean authorized)
Short-hand constructor for authorization without a reason
|
Authorization(boolean authorized,
String reason)
Construct authorization response with a reason
|
public Authorization(boolean authorized)
authorized - whether the authorization check succeededpublic Authorization(boolean authorized, String reason)
authorized - whether the authorization check succeededreason - reason messagepublic boolean isAuthorized()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.