1 17 package org.apache.cocoon.portal.wsrp.consumer; 18 19 import oasis.names.tc.wsrp.v1.types.UserContext; 20 21 36 public class UserContextExtension extends UserContext { 37 38 39 protected String [] supportedLocales; 40 41 42 protected String userAuthentication; 43 44 47 public UserContextExtension() { 48 super(); 49 } 50 51 59 public UserContextExtension( 60 oasis.names.tc.wsrp.v1.types.Extension[] extensions, 61 oasis.names.tc.wsrp.v1.types.UserProfile profile, 62 java.lang.String [] userCategories, 63 java.lang.String userContextKey) { 64 super(extensions, profile, userCategories, userContextKey); 65 } 66 67 72 public void setSupportedLocales(String [] supportedLocales) { 73 this.supportedLocales = supportedLocales; 74 } 75 76 79 public String [] getSupportedLocales() { 80 return this.supportedLocales; 81 } 82 83 public String getUserAuthentication() { 84 return userAuthentication; 85 } 86 87 public void setUserAuthentication(String userAuthentication) { 88 this.userAuthentication = userAuthentication; 89 } 90 } 91 | Popular Tags |