本文整理汇总了Java中org.globus.wsrf.impl.security.authorization.exceptions.AuthorizationException类的典型用法代码示例。如果您正苦于以下问题:Java AuthorizationException类的具体用法?Java AuthorizationException怎么用?Java AuthorizationException使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
AuthorizationException类属于org.globus.wsrf.impl.security.authorization.exceptions包,在下文中一共展示了AuthorizationException类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: isPermitted
import org.globus.wsrf.impl.security.authorization.exceptions.AuthorizationException; //导入依赖的package包/类
public boolean isPermitted(Subject peerSubject, MessageContext context, QName operation)
throws AuthorizationException {
if(!operation.getNamespaceURI().equals(getServiceNamespace())){
return false;
}
if(operation.getLocalPart().equals("getServiceSecurityMetadata")){
authorizeGetServiceSecurityMetadata(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("createWorkflow")){
authorizeCreateWorkflow(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("getMultipleResourceProperties")){
authorizeGetMultipleResourceProperties(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("getResourceProperty")){
authorizeGetResourceProperty(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("queryResourceProperties")){
authorizeQueryResourceProperties(peerSubject, context, operation);
return true;
}
return false;
}
开发者ID:NCIP,项目名称:cagrid-core,代码行数:25,代码来源:TavernaWorkflowServiceAuthorization.java
示例2: isPermitted
import org.globus.wsrf.impl.security.authorization.exceptions.AuthorizationException; //导入依赖的package包/类
public boolean isPermitted(Subject peerSubject, MessageContext context, QName operation)
throws AuthorizationException {
if(!operation.getNamespaceURI().equals(getServiceNamespace())){
return false;
}
if(operation.getLocalPart().equals("pullOp")){
authorizePullOp(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("renewOp")){
authorizeRenewOp(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("getStatusOp")){
authorizeGetStatusOp(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("releaseOp")){
authorizeReleaseOp(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("getServiceSecurityMetadata")){
authorizeGetServiceSecurityMetadata(peerSubject, context, operation);
return true;
}
return false;
}
开发者ID:NCIP,项目名称:cagrid-general,代码行数:25,代码来源:CaGridEnumerationAuthorization.java
示例3: isPermitted
import org.globus.wsrf.impl.security.authorization.exceptions.AuthorizationException; //导入依赖的package包/类
public boolean isPermitted(Subject peerSubject, MessageContext context, QName operation)
throws AuthorizationException {
if(!operation.getNamespaceURI().equals(getServiceNamespace())){
return false;
}
if(operation.getLocalPart().equals("getServiceSecurityMetadata")){
authorizeGetServiceSecurityMetadata(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("rollback")){
authorizeRollback(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("commit")){
authorizeCommit(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("register")){
authorizeRegister(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("getMultipleResourceProperties")){
authorizeGetMultipleResourceProperties(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("getResourceProperty")){
authorizeGetResourceProperty(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("queryResourceProperties")){
authorizeQueryResourceProperties(peerSubject, context, operation);
return true;
}
return false;
}
开发者ID:NCIP,项目名称:labviewer,代码行数:31,代码来源:RegistrationConsumerAuthorization.java
示例4: isPermitted
import org.globus.wsrf.impl.security.authorization.exceptions.AuthorizationException; //导入依赖的package包/类
public boolean isPermitted(Subject peerSubject, MessageContext context, QName operation)
throws AuthorizationException {
if(!operation.getNamespaceURI().equals(getServiceNamespace())){
return false;
}
if(operation.getLocalPart().equals("getMultipleResourceProperties")){
authorizeGetMultipleResourceProperties(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("getResourceProperty")){
authorizeGetResourceProperty(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("queryResourceProperties")){
authorizeQueryResourceProperties(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("getServiceSecurityMetadata")){
authorizeGetServiceSecurityMetadata(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("getPersonById")){
authorizeGetPersonById(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("createPerson")){
authorizeCreatePerson(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("updatePerson")){
authorizeUpdatePerson(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("deletePerson")){
authorizeDeletePerson(peerSubject, context, operation);
return true;
}
return false;
}
开发者ID:NCIP,项目名称:iso21090,代码行数:34,代码来源:ISO21090ReferenceServiceAuthorization.java
示例5: isPermitted
import org.globus.wsrf.impl.security.authorization.exceptions.AuthorizationException; //导入依赖的package包/类
public boolean isPermitted(Subject peerSubject, MessageContext context, QName operation)
throws AuthorizationException {
if(!operation.getNamespaceURI().equals(getServiceNamespace())){
return false;
}
if(operation.getLocalPart().equals("getServiceSecurityMetadata")){
authorizeGetServiceSecurityMetadata(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("destroy")){
authorizeDestroy(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("setTerminationTime")){
authorizeSetTerminationTime(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("getDataTransferDescriptor")){
authorizeGetDataTransferDescriptor(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("subscribe")){
authorizeSubscribe(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("getStatus")){
authorizeGetStatus(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("setStatus")){
authorizeSetStatus(peerSubject, context, operation);
return true;
}
return false;
}
开发者ID:NCIP,项目名称:cagrid-core,代码行数:31,代码来源:TransferServiceContextAuthorization.java
示例6: isPermitted
import org.globus.wsrf.impl.security.authorization.exceptions.AuthorizationException; //导入依赖的package包/类
public boolean isPermitted(Subject peerSubject, MessageContext context, QName operation)
throws AuthorizationException {
if(!operation.getNamespaceURI().equals(getServiceNamespace())){
return false;
}
if(operation.getLocalPart().equals("getServiceSecurityMetadata")){
authorizeGetServiceSecurityMetadata(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("destroy")){
authorizeDestroy(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("setTerminationTime")){
authorizeSetTerminationTime(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("addImage")){
authorizeAddImage(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("listImages")){
authorizeListImages(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("getImage")){
authorizeGetImage(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("grantViewGalleryPrivileges")){
authorizeGrantViewGalleryPrivileges(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("revokeViewGalleryPrivileges")){
authorizeRevokeViewGalleryPrivileges(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("grantAddImagePrivileges")){
authorizeGrantAddImagePrivileges(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("revokeAddImagePrivileges")){
authorizeRevokeAddImagePrivileges(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("grantImageRetrievalPrivileges")){
authorizeGrantImageRetrievalPrivileges(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("revokeImageRetrievalPrivileges")){
authorizeRevokeImageRetrievalPrivileges(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("getGalleryName")){
authorizeGetGalleryName(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("listUsersWithAddPrivileges")){
authorizeListUsersWithAddPrivileges(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("listAllUsersWithViewPrivileges")){
authorizeListAllUsersWithViewPrivileges(peerSubject, context, operation);
return true;
}
return false;
}
开发者ID:NCIP,项目名称:cagrid-general,代码行数:55,代码来源:GalleryAuthorization.java
示例7: isPermitted
import org.globus.wsrf.impl.security.authorization.exceptions.AuthorizationException; //导入依赖的package包/类
public boolean isPermitted(Subject peerSubject, MessageContext context, QName operation)
throws AuthorizationException {
if(!operation.getNamespaceURI().equals(getServiceNamespace())){
return false;
}
if(operation.getLocalPart().equals("getMultipleResourceProperties")){
authorizeGetMultipleResourceProperties(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("getResourceProperty")){
authorizeGetResourceProperty(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("queryResourceProperties")){
authorizeQueryResourceProperties(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("getServiceSecurityMetadata")){
authorizeGetServiceSecurityMetadata(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("resolveIdentifier")){
authorizeResolveIdentifier(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("registerGSID")){
authorizeRegisterGSID(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("addSite")){
authorizeAddSite(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("generateIdentifiers")){
authorizeGenerateIdentifiers(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("getParentHierarchy")){
authorizeGetParentHierarchy(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("getChildHierarchy")){
authorizeGetChildHierarchy(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("registerSite")){
authorizeRegisterSite(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("validateIdentifier")){
authorizeValidateIdentifier(peerSubject, context, operation);
return true;
}
return false;
}
开发者ID:NCIP,项目名称:gsid,代码行数:46,代码来源:IdentifiersNAServiceAuthorization.java
示例8: isPermitted
import org.globus.wsrf.impl.security.authorization.exceptions.AuthorizationException; //导入依赖的package包/类
public boolean isPermitted(Subject peerSubject, MessageContext context, QName operation)
throws AuthorizationException {
if(!operation.getNamespaceURI().equals(getServiceNamespace())){
return false;
}
if(operation.getLocalPart().equals("addTrustedAuthority")){
authorizeAddTrustedAuthority(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("findTrustedAuthorities")){
authorizeFindTrustedAuthorities(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("removeTrustedAuthority")){
authorizeRemoveTrustedAuthority(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("addPermission")){
authorizeAddPermission(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("findPermissions")){
authorizeFindPermissions(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("revokePermission")){
authorizeRevokePermission(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("updateTrustedAuthority")){
authorizeUpdateTrustedAuthority(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("addTrustLevel")){
authorizeAddTrustLevel(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("updateTrustLevel")){
authorizeUpdateTrustLevel(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("getTrustLevels")){
authorizeGetTrustLevels(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("removeTrustLevel")){
authorizeRemoveTrustLevel(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("addAuthority")){
authorizeAddAuthority(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("updateAuthority")){
authorizeUpdateAuthority(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("updateAuthorityPriorities")){
authorizeUpdateAuthorityPriorities(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("getAuthorities")){
authorizeGetAuthorities(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("removeAuthority")){
authorizeRemoveAuthority(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("updateCRL")){
authorizeUpdateCRL(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("validate")){
authorizeValidate(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("getServiceSecurityMetadata")){
authorizeGetServiceSecurityMetadata(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("getMultipleResourceProperties")){
authorizeGetMultipleResourceProperties(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("getResourceProperty")){
authorizeGetResourceProperty(peerSubject, context, operation);
return true;
} else if(operation.getLocalPart().equals("queryResourceProperties")){
authorizeQueryResourceProperties(peerSubject, context, operation);
return true;
}
return false;
}
开发者ID:NCIP,项目名称:cagrid-core,代码行数:76,代码来源:GTSAuthorization.java
示例9: authorizeGetMultipleResourceProperties
import org.globus.wsrf.impl.security.authorization.exceptions.AuthorizationException; //导入依赖的package包/类
public void authorizeGetMultipleResourceProperties(Subject peerSubject, MessageContext context, QName operation) throws AuthorizationException {
}
开发者ID:NCIP,项目名称:cananolab,代码行数:4,代码来源:CaNanoLabServiceAuthorization.java
示例10: authorizeFindHostCertificates
import org.globus.wsrf.impl.security.authorization.exceptions.AuthorizationException; //导入依赖的package包/类
public void authorizeFindHostCertificates(Subject peerSubject, MessageContext context, QName operation) throws AuthorizationException {
}
开发者ID:NCIP,项目名称:cagrid2,代码行数:4,代码来源:DorianAuthorization.java
示例11: authorizeRegister
import org.globus.wsrf.impl.security.authorization.exceptions.AuthorizationException; //导入依赖的package包/类
public void authorizeRegister(Subject peerSubject, MessageContext context, QName operation) throws AuthorizationException {
}
开发者ID:NCIP,项目名称:labviewer,代码行数:4,代码来源:RegistrationConsumerAuthorization.java
示例12: authorizeHostSearch
import org.globus.wsrf.impl.security.authorization.exceptions.AuthorizationException; //导入依赖的package包/类
public void authorizeHostSearch(Subject peerSubject, MessageContext context, QName operation) throws AuthorizationException {
}
开发者ID:NCIP,项目名称:cagrid-core,代码行数:4,代码来源:DorianAuthorization.java
示例13: authorizeGetMultipleResourceProperties
import org.globus.wsrf.impl.security.authorization.exceptions.AuthorizationException; //导入依赖的package包/类
public void authorizeGetMultipleResourceProperties(Subject peerSubject, MessageContext context, QName operation) throws AuthorizationException {
}
开发者ID:NCIP,项目名称:cagrid2,代码行数:4,代码来源:DorianAuthorization.java
示例14: authorizeValidate
import org.globus.wsrf.impl.security.authorization.exceptions.AuthorizationException; //导入依赖的package包/类
public void authorizeValidate(Subject peerSubject, MessageContext context, QName operation) throws AuthorizationException {
}
开发者ID:NCIP,项目名称:cagrid-core,代码行数:4,代码来源:GTSAuthorization.java
示例15: authorizeRemoveAuthority
import org.globus.wsrf.impl.security.authorization.exceptions.AuthorizationException; //导入依赖的package包/类
public void authorizeRemoveAuthority(Subject peerSubject, MessageContext context, QName operation) throws AuthorizationException {
}
开发者ID:NCIP,项目名称:cagrid-core,代码行数:4,代码来源:GTSAuthorization.java
示例16: authorizeRequestHostCertificate
import org.globus.wsrf.impl.security.authorization.exceptions.AuthorizationException; //导入依赖的package包/类
public void authorizeRequestHostCertificate(Subject peerSubject, MessageContext context, QName operation) throws AuthorizationException {
}
开发者ID:NCIP,项目名称:cagrid-core,代码行数:4,代码来源:DorianAuthorization.java
示例17: authorizeGetProtocolByCharacterizationId
import org.globus.wsrf.impl.security.authorization.exceptions.AuthorizationException; //导入依赖的package包/类
public void authorizeGetProtocolByCharacterizationId(Subject peerSubject, MessageContext context, QName operation) throws AuthorizationException {
}
开发者ID:NCIP,项目名称:cananolab,代码行数:4,代码来源:CaNanoLabServiceAuthorization.java
示例18: authorizeGetResourceProperty
import org.globus.wsrf.impl.security.authorization.exceptions.AuthorizationException; //导入依赖的package包/类
public void authorizeGetResourceProperty(Subject peerSubject, MessageContext context, QName operation) throws AuthorizationException {
}
开发者ID:NCIP,项目名称:labviewer,代码行数:4,代码来源:RegistrationConsumerAuthorization.java
示例19: authorizeGetPublicationsBySampleId
import org.globus.wsrf.impl.security.authorization.exceptions.AuthorizationException; //导入依赖的package包/类
public void authorizeGetPublicationsBySampleId(Subject peerSubject, MessageContext context, QName operation) throws AuthorizationException {
}
开发者ID:NCIP,项目名称:cananolab,代码行数:4,代码来源:CaNanoLabServiceAuthorization.java
示例20: authorizeAuthenticate
import org.globus.wsrf.impl.security.authorization.exceptions.AuthorizationException; //导入依赖的package包/类
public void authorizeAuthenticate(Subject peerSubject, MessageContext context, QName operation) throws AuthorizationException {
}
开发者ID:NCIP,项目名称:cagrid2,代码行数:4,代码来源:AuthenticationServiceAuthorization.java
注:本文中的org.globus.wsrf.impl.security.authorization.exceptions.AuthorizationException类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论